//
//  SetDateTimeCell.h
//  QRMaster
//
//  Created by myApple on 15/7/21.
//  Copyright (c) 2015年 myApple. All rights reserved.
//



#import <UIKit/UIKit.h>

@class SetDateTimeCell;
@protocol setDateTimeCellDelegate <NSObject>

-(void)swipSwitch:(BOOL)openOrNot index:(NSInteger)index;//是否打开开关

@end

@interface SetDateTimeCell : UITableViewCell

@property(nonatomic,copy)NSString * beginTime;
@property(nonatomic,copy)NSString * endTime;
@property(nonatomic,copy)NSString * weekInfo;
@property(nonatomic,assign)BOOL openTime;
@property(nonatomic,assign)NSInteger cellIndext;

@property(nonatomic,assign)BOOL showSwitch;//是否显示switch 查看自己房间的开门时间时候会用到

@property(nonatomic,assign)id<setDateTimeCellDelegate>delegate;

@end
